from random import*
N=int(input("введите кол-во выстрелов "))
if N>0:
    k=0
    for i in range(N):
        x=randint(-100,100)
        y=randint(-100,100)
        if x>=-7 and x<=5 and y>=-8 and y<=5: k+1
print(k)
